body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 每行4列 */
    gap: 10px; /* 列和列之间的间距 */
    padding: 0;
    list-style-type: none;
    max-width: 80%; /* 限制宽度 */
}

.grid-item {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    line-height: 100px; /* 垂直居中 */
    font-size: 18px;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1; /* 确保宽高比为1，保持正方形 */
    display: flex;
    justify-content: center;
    align-items: center;
}
